package com.tinyseed.emcp.api.basicdata.service;

import com.tinyseed.emcp.api.basicdata.domain.Industry;
import com.tinyseed.emcp.api.basicdata.model.IndustryInputDTO;
import com.tinyseed.emcp.api.basicdata.model.IndustryOutputDTO;
import com.tinyseed.hmxx.common.base.PageData;

import java.util.List;

/**
 * Created by Jarvis on 2019/11/18.
 */

public interface IndustryService {

    List<IndustryOutputDTO> findIndustryByPage(int current, int size);

    IndustryOutputDTO save(Industry industry);

    Integer delete(Long id);

    PageData page(int size, int current, IndustryInputDTO industryInputDTO);

    List<IndustryOutputDTO> getOptionList();
}
